lib/curl: Only check individual request errors
authorColin Walters <walters@verbum.org>
Mon, 31 Jul 2017 14:48:57 +0000 (10:48 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Wed, 2 Aug 2017 15:44:00 +0000 (15:44 +0000)
commit6347c0fb8878ac2cf809caa74cdf7fef5a97b786
tree27248a2eefc78490c6be485475c34d0e39f76758
parent2f0707a054139174bef552adc778259f58b12125
lib/curl: Only check individual request errors

It looks like `curl_multi_socket_action()` will return an error
if *one* of the requests has an error, but we already check
for that explicitly by iterating over each handle.

In libcurl, the "easy" layer doesn't really make use of this
return value.  I did a bit of looking elsewhere; systemd
does check it as a runtime error, not an assertion.  librepo
doesn't use the multi interface.

Closes: https://github.com/ostreedev/ostree/issues/1035
Closes: #1038
Approved by: jlebon
src/libostree/ostree-fetcher-curl.c